type ItemData = {
	name : string;
	num : number;
	time : string;
	pointTime : number;
};

type widgetChart = {
	charData : ItemData[];
	name : string;
	FertilizationWeight : string;
	FertilizationArea : string;
	FertilizationType : string;
}

type HanderModelItem = {
	name : string;
	elementID : string[];
}

export const state = {
	showMes: false,
	mes: [],
	clickMes: [],
	AFLayerControl: [],

	homePoint: [],

	panelClose: false,
	widgetChart: {} as widgetChart,
	gisname: "",

	// loading
	showCirCular: false,
	//
	btnState: false,

	commandNotificationQueue: [],
	commandNotificationWaitQueue: [],
	// 农机航线线路
	agriculturalMachineryLine: [],
	// 农机航线坐标点
	agriculturalMachineryPoint: [],
	agriculturalMachineryModel: [],

	// 当前选择的项目
	projectMessage: {} as {
		name : string;
		id : string;
	}
};

export type State = typeof state;